/*
 * An XML document type.
 * Localname: task-node
 * Namespace: urn:jbpm.org:jpdl-3.2
 * Java type: x2.orgJpdl3.jbpm.TaskNodeDocument
 *
 * Automatically generated - do not modify.
 */
package x2.orgJpdl3.jbpm;


/**
 * A document containing one task-node(@urn:jbpm.org:jpdl-3.2) element.
 *
 * This is a complex type.
 */
public interface TaskNodeDocument extends org.apache.xmlbeans.XmlObject
{
    public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
        org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(TaskNodeDocument.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s9AF6EB416A5C93629A4C02ECFBC1909B").resolveHandle("tasknode1f4fdoctype");
    
    /**
     * Gets the "task-node" element
     */
    x2.orgJpdl3.jbpm.TaskNodeDocument.TaskNode getTaskNode();
    
    /**
     * Sets the "task-node" element
     */
    void setTaskNode(x2.orgJpdl3.jbpm.TaskNodeDocument.TaskNode taskNode);
    
    /**
     * Appends and returns a new empty "task-node" element
     */
    x2.orgJpdl3.jbpm.TaskNodeDocument.TaskNode addNewTaskNode();
    
    /**
     * An XML task-node(@urn:jbpm.org:jpdl-3.2).
     *
     * This is a complex type.
     */
    public interface TaskNode extends org.apache.xmlbeans.XmlObject
    {
        public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
            org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(TaskNode.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s9AF6EB416A5C93629A4C02ECFBC1909B").resolveHandle("tasknode1985elemtype");
        
        /**
         * Gets a List of "task" elements
         */
        java.util.List<x2.orgJpdl3.jbpm.TaskDocument.Task> getTaskList();
        
        /**
         * Gets array of all "task" elements
         * @deprecated
         */
        x2.orgJpdl3.jbpm.TaskDocument.Task[] getTaskArray();
        
        /**
         * Gets ith "task" element
         */
        x2.orgJpdl3.jbpm.TaskDocument.Task getTaskArray(int i);
        
        /**
         * Returns number of "task" element
         */
        int sizeOfTaskArray();
        
        /**
         * Sets array of all "task" element
         */
        void setTaskArray(x2.orgJpdl3.jbpm.TaskDocument.Task[] taskArray);
        
        /**
         * Sets ith "task" element
         */
        void setTaskArray(int i, x2.orgJpdl3.jbpm.TaskDocument.Task task);
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "task" element
         */
        x2.orgJpdl3.jbpm.TaskDocument.Task insertNewTask(int i);
        
        /**
         * Appends and returns a new empty value (as xml) as the last "task" element
         */
        x2.orgJpdl3.jbpm.TaskDocument.Task addNewTask();
        
        /**
         * Removes the ith "task" element
         */
        void removeTask(int i);
        
        /**
         * Gets a List of "description" elements
         */
        java.util.List<java.lang.String> getDescriptionList();
        
        /**
         * Gets array of all "description" elements
         * @deprecated
         */
        java.lang.String[] getDescriptionArray();
        
        /**
         * Gets ith "description" element
         */
        java.lang.String getDescriptionArray(int i);
        
        /**
         * Gets (as xml) a List of "description" elements
         */
        java.util.List<org.apache.xmlbeans.XmlString> xgetDescriptionList();
        
        /**
         * Gets (as xml) array of all "description" elements
         * @deprecated
         */
        org.apache.xmlbeans.XmlString[] xgetDescriptionArray();
        
        /**
         * Gets (as xml) ith "description" element
         */
        org.apache.xmlbeans.XmlString xgetDescriptionArray(int i);
        
        /**
         * Returns number of "description" element
         */
        int sizeOfDescriptionArray();
        
        /**
         * Sets array of all "description" element
         */
        void setDescriptionArray(java.lang.String[] descriptionArray);
        
        /**
         * Sets ith "description" element
         */
        void setDescriptionArray(int i, java.lang.String description);
        
        /**
         * Sets (as xml) array of all "description" element
         */
        void xsetDescriptionArray(org.apache.xmlbeans.XmlString[] descriptionArray);
        
        /**
         * Sets (as xml) ith "description" element
         */
        void xsetDescriptionArray(int i, org.apache.xmlbeans.XmlString description);
        
        /**
         * Inserts the value as the ith "description" element
         */
        void insertDescription(int i, java.lang.String description);
        
        /**
         * Appends the value as the last "description" element
         */
        void addDescription(java.lang.String description);
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "description" element
         */
        org.apache.xmlbeans.XmlString insertNewDescription(int i);
        
        /**
         * Appends and returns a new empty value (as xml) as the last "description" element
         */
        org.apache.xmlbeans.XmlString addNewDescription();
        
        /**
         * Removes the ith "description" element
         */
        void removeDescription(int i);
        
        /**
         * Gets a List of "event" elements
         */
        java.util.List<x2.orgJpdl3.jbpm.EventDocument.Event> getEventList();
        
        /**
         * Gets array of all "event" elements
         * @deprecated
         */
        x2.orgJpdl3.jbpm.EventDocument.Event[] getEventArray();
        
        /**
         * Gets ith "event" element
         */
        x2.orgJpdl3.jbpm.EventDocument.Event getEventArray(int i);
        
        /**
         * Returns number of "event" element
         */
        int sizeOfEventArray();
        
        /**
         * Sets array of all "event" element
         */
        void setEventArray(x2.orgJpdl3.jbpm.EventDocument.Event[] eventArray);
        
        /**
         * Sets ith "event" element
         */
        void setEventArray(int i, x2.orgJpdl3.jbpm.EventDocument.Event event);
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "event" element
         */
        x2.orgJpdl3.jbpm.EventDocument.Event insertNewEvent(int i);
        
        /**
         * Appends and returns a new empty value (as xml) as the last "event" element
         */
        x2.orgJpdl3.jbpm.EventDocument.Event addNewEvent();
        
        /**
         * Removes the ith "event" element
         */
        void removeEvent(int i);
        
        /**
         * Gets a List of "exception-handler" elements
         */
        java.util.List<x2.orgJpdl3.jbpm.ExceptionHandlerDocument.ExceptionHandler> getExceptionHandlerList();
        
        /**
         * Gets array of all "exception-handler" elements
         * @deprecated
         */
        x2.orgJpdl3.jbpm.ExceptionHandlerDocument.ExceptionHandler[] getExceptionHandlerArray();
        
        /**
         * Gets ith "exception-handler" element
         */
        x2.orgJpdl3.jbpm.ExceptionHandlerDocument.ExceptionHandler getExceptionHandlerArray(int i);
        
        /**
         * Returns number of "exception-handler" element
         */
        int sizeOfExceptionHandlerArray();
        
        /**
         * Sets array of all "exception-handler" element
         */
        void setExceptionHandlerArray(x2.orgJpdl3.jbpm.ExceptionHandlerDocument.ExceptionHandler[] exceptionHandlerArray);
        
        /**
         * Sets ith "exception-handler" element
         */
        void setExceptionHandlerArray(int i, x2.orgJpdl3.jbpm.ExceptionHandlerDocument.ExceptionHandler exceptionHandler);
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "exception-handler" element
         */
        x2.orgJpdl3.jbpm.ExceptionHandlerDocument.ExceptionHandler insertNewExceptionHandler(int i);
        
        /**
         * Appends and returns a new empty value (as xml) as the last "exception-handler" element
         */
        x2.orgJpdl3.jbpm.ExceptionHandlerDocument.ExceptionHandler addNewExceptionHandler();
        
        /**
         * Removes the ith "exception-handler" element
         */
        void removeExceptionHandler(int i);
        
        /**
         * Gets a List of "timer" elements
         */
        java.util.List<x2.orgJpdl3.jbpm.TimerDocument.Timer> getTimerList();
        
        /**
         * Gets array of all "timer" elements
         * @deprecated
         */
        x2.orgJpdl3.jbpm.TimerDocument.Timer[] getTimerArray();
        
        /**
         * Gets ith "timer" element
         */
        x2.orgJpdl3.jbpm.TimerDocument.Timer getTimerArray(int i);
        
        /**
         * Returns number of "timer" element
         */
        int sizeOfTimerArray();
        
        /**
         * Sets array of all "timer" element
         */
        void setTimerArray(x2.orgJpdl3.jbpm.TimerDocument.Timer[] timerArray);
        
        /**
         * Sets ith "timer" element
         */
        void setTimerArray(int i, x2.orgJpdl3.jbpm.TimerDocument.Timer timer);
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "timer" element
         */
        x2.orgJpdl3.jbpm.TimerDocument.Timer insertNewTimer(int i);
        
        /**
         * Appends and returns a new empty value (as xml) as the last "timer" element
         */
        x2.orgJpdl3.jbpm.TimerDocument.Timer addNewTimer();
        
        /**
         * Removes the ith "timer" element
         */
        void removeTimer(int i);
        
        /**
         * Gets a List of "transition" elements
         */
        java.util.List<x2.orgJpdl3.jbpm.TransitionDocument.Transition> getTransitionList();
        
        /**
         * Gets array of all "transition" elements
         * @deprecated
         */
        x2.orgJpdl3.jbpm.TransitionDocument.Transition[] getTransitionArray();
        
        /**
         * Gets ith "transition" element
         */
        x2.orgJpdl3.jbpm.TransitionDocument.Transition getTransitionArray(int i);
        
        /**
         * Returns number of "transition" element
         */
        int sizeOfTransitionArray();
        
        /**
         * Sets array of all "transition" element
         */
        void setTransitionArray(x2.orgJpdl3.jbpm.TransitionDocument.Transition[] transitionArray);
        
        /**
         * Sets ith "transition" element
         */
        void setTransitionArray(int i, x2.orgJpdl3.jbpm.TransitionDocument.Transition transition);
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "transition" element
         */
        x2.orgJpdl3.jbpm.TransitionDocument.Transition insertNewTransition(int i);
        
        /**
         * Appends and returns a new empty value (as xml) as the last "transition" element
         */
        x2.orgJpdl3.jbpm.TransitionDocument.Transition addNewTransition();
        
        /**
         * Removes the ith "transition" element
         */
        void removeTransition(int i);
        
        /**
         * Gets the "name" attribute
         */
        java.lang.String getName();
        
        /**
         * Gets (as xml) the "name" attribute
         */
        org.apache.xmlbeans.XmlString xgetName();
        
        /**
         * Sets the "name" attribute
         */
        void setName(java.lang.String name);
        
        /**
         * Sets (as xml) the "name" attribute
         */
        void xsetName(org.apache.xmlbeans.XmlString name);
        
        /**
         * Gets the "create-tasks" attribute
         */
        x2.orgJpdl3.jbpm.BooleanType.Enum getCreateTasks();
        
        /**
         * Gets (as xml) the "create-tasks" attribute
         */
        x2.orgJpdl3.jbpm.BooleanType xgetCreateTasks();
        
        /**
         * True if has "create-tasks" attribute
         */
        boolean isSetCreateTasks();
        
        /**
         * Sets the "create-tasks" attribute
         */
        void setCreateTasks(x2.orgJpdl3.jbpm.BooleanType.Enum createTasks);
        
        /**
         * Sets (as xml) the "create-tasks" attribute
         */
        void xsetCreateTasks(x2.orgJpdl3.jbpm.BooleanType createTasks);
        
        /**
         * Unsets the "create-tasks" attribute
         */
        void unsetCreateTasks();
        
        /**
         * Gets the "end-tasks" attribute
         */
        x2.orgJpdl3.jbpm.BooleanType.Enum getEndTasks();
        
        /**
         * Gets (as xml) the "end-tasks" attribute
         */
        x2.orgJpdl3.jbpm.BooleanType xgetEndTasks();
        
        /**
         * True if has "end-tasks" attribute
         */
        boolean isSetEndTasks();
        
        /**
         * Sets the "end-tasks" attribute
         */
        void setEndTasks(x2.orgJpdl3.jbpm.BooleanType.Enum endTasks);
        
        /**
         * Sets (as xml) the "end-tasks" attribute
         */
        void xsetEndTasks(x2.orgJpdl3.jbpm.BooleanType endTasks);
        
        /**
         * Unsets the "end-tasks" attribute
         */
        void unsetEndTasks();
        
        /**
         * Gets the "signal" attribute
         */
        x2.orgJpdl3.jbpm.TaskNodeDocument.TaskNode.Signal.Enum getSignal();
        
        /**
         * Gets (as xml) the "signal" attribute
         */
        x2.orgJpdl3.jbpm.TaskNodeDocument.TaskNode.Signal xgetSignal();
        
        /**
         * True if has "signal" attribute
         */
        boolean isSetSignal();
        
        /**
         * Sets the "signal" attribute
         */
        void setSignal(x2.orgJpdl3.jbpm.TaskNodeDocument.TaskNode.Signal.Enum signal);
        
        /**
         * Sets (as xml) the "signal" attribute
         */
        void xsetSignal(x2.orgJpdl3.jbpm.TaskNodeDocument.TaskNode.Signal signal);
        
        /**
         * Unsets the "signal" attribute
         */
        void unsetSignal();
        
        /**
         * Gets the "async" attribute
         */
        java.lang.String getAsync();
        
        /**
         * Gets (as xml) the "async" attribute
         */
        org.apache.xmlbeans.XmlString xgetAsync();
        
        /**
         * True if has "async" attribute
         */
        boolean isSetAsync();
        
        /**
         * Sets the "async" attribute
         */
        void setAsync(java.lang.String async);
        
        /**
         * Sets (as xml) the "async" attribute
         */
        void xsetAsync(org.apache.xmlbeans.XmlString async);
        
        /**
         * Unsets the "async" attribute
         */
        void unsetAsync();
        
        /**
         * An XML signal(@).
         *
         * This is an atomic type that is a restriction of x2.orgJpdl3.jbpm.TaskNodeDocument$TaskNode$Signal.
         */
        public interface Signal extends org.apache.xmlbeans.XmlString
        {
            public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
                org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(Signal.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s9AF6EB416A5C93629A4C02ECFBC1909B").resolveHandle("signal2d4dattrtype");
            
            org.apache.xmlbeans.StringEnumAbstractBase enumValue();
            void set(org.apache.xmlbeans.StringEnumAbstractBase e);
            
            static final Enum UNSYNCHRONIZED = Enum.forString("unsynchronized");
            static final Enum NEVER = Enum.forString("never");
            static final Enum FIRST = Enum.forString("first");
            static final Enum FIRST_WAIT = Enum.forString("first-wait");
            static final Enum LAST = Enum.forString("last");
            static final Enum LAST_WAIT = Enum.forString("last-wait");
            
            static final int INT_UNSYNCHRONIZED = Enum.INT_UNSYNCHRONIZED;
            static final int INT_NEVER = Enum.INT_NEVER;
            static final int INT_FIRST = Enum.INT_FIRST;
            static final int INT_FIRST_WAIT = Enum.INT_FIRST_WAIT;
            static final int INT_LAST = Enum.INT_LAST;
            static final int INT_LAST_WAIT = Enum.INT_LAST_WAIT;
            
            /**
             * Enumeration value class for x2.orgJpdl3.jbpm.TaskNodeDocument$TaskNode$Signal.
             * These enum values can be used as follows:
             * <pre>
             * enum.toString(); // returns the string value of the enum
             * enum.intValue(); // returns an int value, useful for switches
             * // e.g., case Enum.INT_UNSYNCHRONIZED
             * Enum.forString(s); // returns the enum value for a string
             * Enum.forInt(i); // returns the enum value for an int
             * </pre>
             * Enumeration objects are immutable singleton objects that
             * can be compared using == object equality. They have no
             * public constructor. See the constants defined within this
             * class for all the valid values.
             */
            static final class Enum extends org.apache.xmlbeans.StringEnumAbstractBase
            {
                /**
                 * Returns the enum value for a string, or null if none.
                 */
                public static Enum forString(java.lang.String s)
                    { return (Enum)table.forString(s); }
                /**
                 * Returns the enum value corresponding to an int, or null if none.
                 */
                public static Enum forInt(int i)
                    { return (Enum)table.forInt(i); }
                
                private Enum(java.lang.String s, int i)
                    { super(s, i); }
                
                static final int INT_UNSYNCHRONIZED = 1;
                static final int INT_NEVER = 2;
                static final int INT_FIRST = 3;
                static final int INT_FIRST_WAIT = 4;
                static final int INT_LAST = 5;
                static final int INT_LAST_WAIT = 6;
                
                public static final org.apache.xmlbeans.StringEnumAbstractBase.Table table =
                    new org.apache.xmlbeans.StringEnumAbstractBase.Table
                (
                    new Enum[]
                    {
                      new Enum("unsynchronized", INT_UNSYNCHRONIZED),
                      new Enum("never", INT_NEVER),
                      new Enum("first", INT_FIRST),
                      new Enum("first-wait", INT_FIRST_WAIT),
                      new Enum("last", INT_LAST),
                      new Enum("last-wait", INT_LAST_WAIT),
                    }
                );
                private static final long serialVersionUID = 1L;
                private java.lang.Object readResolve() { return forInt(intValue()); } 
            }
            
            /**
             * A factory class with static methods for creating instances
             * of this type.
             */
            
            public static final class Factory
            {
                public static x2.orgJpdl3.jbpm.TaskNodeDocument.TaskNode.Signal newValue(java.lang.Object obj) {
                  return (x2.orgJpdl3.jbpm.TaskNodeDocument.TaskNode.Signal) type.newValue( obj ); }
                
                public static x2.orgJpdl3.jbpm.TaskNodeDocument.TaskNode.Signal newInstance() {
                  return (x2.orgJpdl3.jbpm.TaskNodeDocument.TaskNode.Signal) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
                
                public static x2.orgJpdl3.jbpm.TaskNodeDocument.TaskNode.Signal newInstance(org.apache.xmlbeans.XmlOptions options) {
                  return (x2.orgJpdl3.jbpm.TaskNodeDocument.TaskNode.Signal) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
                
                private Factory() { } // No instance of this class allowed
            }
        }
        
        /**
         * A factory class with static methods for creating instances
         * of this type.
         */
        
        public static final class Factory
        {
            public static x2.orgJpdl3.jbpm.TaskNodeDocument.TaskNode newInstance() {
              return (x2.orgJpdl3.jbpm.TaskNodeDocument.TaskNode) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
            
            public static x2.orgJpdl3.jbpm.TaskNodeDocument.TaskNode newInstance(org.apache.xmlbeans.XmlOptions options) {
              return (x2.orgJpdl3.jbpm.TaskNodeDocument.TaskNode) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
            
            private Factory() { } // No instance of this class allowed
        }
    }
    
    /**
     * A factory class with static methods for creating instances
     * of this type.
     */
    
    public static final class Factory
    {
        public static x2.orgJpdl3.jbpm.TaskNodeDocument newInstance() {
          return (x2.orgJpdl3.jbpm.TaskNodeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
        
        public static x2.orgJpdl3.jbpm.TaskNodeDocument newInstance(org.apache.xmlbeans.XmlOptions options) {
          return (x2.orgJpdl3.jbpm.TaskNodeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
        
        /** @param xmlAsString the string value to parse */
        public static x2.orgJpdl3.jbpm.TaskNodeDocument parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
          return (x2.orgJpdl3.jbpm.TaskNodeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
        
        public static x2.orgJpdl3.jbpm.TaskNodeDocument parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (x2.orgJpdl3.jbpm.TaskNodeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
        
        /** @param file the file from which to load an xml document */
        public static x2.orgJpdl3.jbpm.TaskNodeDocument parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (x2.orgJpdl3.jbpm.TaskNodeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
        
        public static x2.orgJpdl3.jbpm.TaskNodeDocument parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (x2.orgJpdl3.jbpm.TaskNodeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
        
        public static x2.orgJpdl3.jbpm.TaskNodeDocument parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (x2.orgJpdl3.jbpm.TaskNodeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
        
        public static x2.orgJpdl3.jbpm.TaskNodeDocument parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (x2.orgJpdl3.jbpm.TaskNodeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
        
        public static x2.orgJpdl3.jbpm.TaskNodeDocument parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (x2.orgJpdl3.jbpm.TaskNodeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
        
        public static x2.orgJpdl3.jbpm.TaskNodeDocument parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (x2.orgJpdl3.jbpm.TaskNodeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
        
        public static x2.orgJpdl3.jbpm.TaskNodeDocument parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (x2.orgJpdl3.jbpm.TaskNodeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
        
        public static x2.orgJpdl3.jbpm.TaskNodeDocument parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (x2.orgJpdl3.jbpm.TaskNodeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
        
        public static x2.orgJpdl3.jbpm.TaskNodeDocument parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
          return (x2.orgJpdl3.jbpm.TaskNodeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
        
        public static x2.orgJpdl3.jbpm.TaskNodeDocument parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (x2.orgJpdl3.jbpm.TaskNodeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
        
        public static x2.orgJpdl3.jbpm.TaskNodeDocument parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
          return (x2.orgJpdl3.jbpm.TaskNodeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
        
        public static x2.orgJpdl3.jbpm.TaskNodeDocument parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (x2.orgJpdl3.jbpm.TaskNodeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static x2.orgJpdl3.jbpm.TaskNodeDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (x2.orgJpdl3.jbpm.TaskNodeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static x2.orgJpdl3.jbpm.TaskNodeDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (x2.orgJpdl3.jbpm.TaskNodeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
        
        private Factory() { } // No instance of this class allowed
    }
}
